package model;

import java.util.Date;

/**
 * 新闻类
 * @author Shen
 *
 */

public class New {
	
	private Integer id;
	private String title;
	private String content;
	private Date createDate;
	private User user;
	private NewType newtype;
	private String test;
	private Integer isTest;
	
	
	public Integer getIsTest() {
		return isTest;
	}

	public void setIsTest(Integer isTest) {
		this.isTest = isTest;
	}

	public String getTest() {
		return test;
	}

	public void setTest(String test) {
		this.test = test;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public NewType getNewtype() {
		return newtype;
	}
	public void setNewtype(NewType newtype) {
		this.newtype = newtype;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Integer getId() {
		return id;
	}
	
	
	
}
